package com.mystore.action;

public class TestAction {
    private String name;
    private String pass;

    public TestAction() {
    }

    public TestAction(String name, String pass) {
        this.name = name;
        this.pass = pass;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String execute(){
        System.out.println("name="+name);
        System.out.println("pass="+pass);
        return "success";
    }
}
